package com.example.demo.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.demo.domain.SysMchInfo;
import com.example.demo.mapper.SysMchInfoMapper;
import java.util.List;
import com.example.demo.domain.SysMchInfoExample;
import com.example.demo.service.SysMchInfoService;
@Service
public class SysMchInfoServiceImpl implements SysMchInfoService{

    @Resource
    private SysMchInfoMapper sysMchInfoMapper;

    @Override
    public long countByExample(SysMchInfoExample example) {
        return sysMchInfoMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(SysMchInfoExample example) {
        return sysMchInfoMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long userId) {
        return sysMchInfoMapper.deleteByPrimaryKey(userId);
    }

    @Override
    public int insert(SysMchInfo record) {
        return sysMchInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(SysMchInfo record) {
        return sysMchInfoMapper.insertSelective(record);
    }

    @Override
    public List<SysMchInfo> selectByExample(SysMchInfoExample example) {
        return sysMchInfoMapper.selectByExample(example);
    }

    @Override
    public SysMchInfo selectByPrimaryKey(Long userId) {
        return sysMchInfoMapper.selectByPrimaryKey(userId);
    }

    @Override
    public int updateByExampleSelective(SysMchInfo record,SysMchInfoExample example) {
        return sysMchInfoMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(SysMchInfo record,SysMchInfoExample example) {
        return sysMchInfoMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(SysMchInfo record) {
        return sysMchInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysMchInfo record) {
        return sysMchInfoMapper.updateByPrimaryKey(record);
    }

}
